home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 34
/
Mac Magazin and MacEasy Magazine CD - Issue 34.iso
/
Grafik & Text
/
Alpha ƒ
/
Tcl
/
ElectricAlias
/
Aliases
/
aliases.C
< prev
next >
Wrap
Text File
|
1994-06-18
|
1KB
|
35 lines
# FILE: aliases.C
#
# LAST UPDATE: 2/16/93 6:32:31 AM
# HISTORY
#
# modified who rev reason
# -------- --- --- ------
# 02/16/93 DCB 1.1 Corrected #ifdef & #ifndef
# 01/03/93 DCB 1.0 Original
################################################################################
# Aliases for C mode
electricAlias-def •C •C •C
electricAlias-var C bb "\{"
electricAlias-var C eb "\}"
electricAlias-var C bc "//"
electricAlias-var C ec ""
electricAlias-def •C \{ "§{bb}\r\t•\r§{eb}•"
electricAlias-def •C do "do §{bb}\r\t•\r§{eb} while (•);•"
electricAlias-def •C for "for (•;•;•) §{bb}\r\t•\r§{eb}§{bc}endfor§{ec}•"
electricAlias-def •C while "while (•) §{bb}\r\t•\r§{eb}§{bc}endwhile§{ec}•"
electricAlias-def •C if "if (•) §{bb}\r\t•\r§{eb}§{bc}endif§{ec}•"
electricAlias-def •C elseif "\b§{eb} else if (•) §{bb}\r•"
electricAlias-def •C else "\b§{eb} else §{bb}\r•"
electricAlias-def •C switch "switch (•) §{bb}\r\t•\r§{eb}§{bc}endswitch§{ec}•"
electricAlias-def •C case "\bcase •:\r•"
electricAlias-def •C default "\bdefault:\r•"
electricAlias-def •C struct "struct §{bb}\r\t•\r§{eb} •;\r•"
electricAlias-def •C #if "#if •\r\t•\r#endif•"
electricAlias-def •C #ifdef "#ifdef •\r\t•\r#endifdef•"
electricAlias-def •C #ifndef "#ifndef •\r\t•\r#endifndef•"
electricAlias-def •C #else "\b#else\r•"